#define __SYSTEM_C__
#include "system.h"
/*
function : system clock initialize program.

*/
void sys_clk_init(void)
{
	/*ICK =12.5M *8=100M PCK=12.5M *4= 50M*/
	SYSTEM.SCKCR.LONG=0x100;
	/*--check the osc */
	while(SYSTEM.OSTDCR.BIT.OSTDF);
}